<?php
namespace app\controllers;
use app\models\Article;

Class HomeController extends BaseController
{
    public function home()
    {
        $article = Article::first();
        var_dump($article);die;
    }

    public function dbFirst()
    {
        Article::first();
    }
}